package com.tcm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tcm.entity.ItemLabel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Guqier
 * @version 1.0
 * @date 2023/7/14 21:08
 */
@Mapper
public interface ItemLabelMapper extends BaseMapper<ItemLabel> {

    /**
     * 模糊查询标签名称获取关联题目id
     * @param name 标签名称
     * @return 题目id
     */
    List<Long> selectItemIdByLabelName(String name);

}
